<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/vraptor-blank-project/bootstrap/css/estilo.css">
    <link rel="stylesheet" type="text/css"
	href="/vraptor-blank-project/bootstrap/css/bootstrap.min.css">
<title>Lista de Administradores</title>
</head>
<body>
   
	<div class="jumbotron" id="jumbotron">
	<h1>Lista de Administradores</h1>
	</div>
	 <div class="container">
	<div class="bb">
	 
	 <table class="table table-bordered">
    <tr>
			<td>#</td>
			<td>Nome</td>
			<td>Email</td>
			<td></td>
	</tr>
	<tbody>
	<c:forEach items="${administradorList}" var="administrador">
		<tr>
		<td>${administrador.id}</td>
		 <td>${administrador.nome}</td>
		 <td>${administrador.login}</td> 
		 <td><a href="${linkTo[AdministradorController].delete}?id=${administrador.id}">Remover</a>
		 - <a href="${linkTo[AdministradorController].edit}?id=${administrador.id}">Editar</a> </td>
		</tr>
	</c:forEach>
	
	</tbody>
	</table>
</body>
</html>